﻿using DoNet.Core.Models;
using SqlSugar;

namespace DoNet.System.Models
{
    /// <summary>
    /// 系统用户角色表
    /// </summary>
    [SugarTable("Sys_UserRole", "系统用户角色表")]
    [Serializable]
    public class UserRole : BaseEntity
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        [SugarColumn(ColumnDescription = "用户Id")]
        public long UserId { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        [SugarColumn(ColumnDescription = "角色Id")]
        public long RoleId { get; set; }
    }
}
